package applications.transporteur;

import gestionColis.InfoColis;

public class DemandeTransport {
	
	private String numColis;
	
	private String numPresta;
	
	private String idStationDepart;
	
	private String idStationArrivee;

	private String idAdherentExpediteur;
	
	private String idAdherentDestinataire;
	
	private double tarif;
	
	/**
     * Permet de récupérer les info du colis contenu dans l'objet InfoColis (struc corba)
     * @param infocolis
     */
    public void recopieInfoColis(InfoColis infocolis) {
    	this.numColis = infocolis.numColis;
    	this.idStationDepart = infocolis.idStationDepart;
    	this.idStationArrivee = infocolis.idStationArrivee;
    	this.idAdherentExpediteur = infocolis.idAdherentExpediteur;
    	this.idAdherentDestinataire = infocolis.idAdherentDestinataire;
    	this.tarif = infocolis.tarif;
    }
	
	public String getNumColis() {
		return numColis;
	}

	public void setNumColis(String numColis) {
		this.numColis = numColis;
	}

	public String getNumPresta() {
		return numPresta;
	}

	public void setNumPresta(String numPresta) {
		this.numPresta = numPresta;
	}

	public String getIdStationDepart() {
		return idStationDepart;
	}

	public void setIdStationDepart(String idStationDepart) {
		this.idStationDepart = idStationDepart;
	}

	public String getIdStationArrivee() {
		return idStationArrivee;
	}

	public void setIdStationArrivee(String idStationArrivee) {
		this.idStationArrivee = idStationArrivee;
	}

	public String getIdAdherentExpediteur() {
		return idAdherentExpediteur;
	}

	public void setIdAdherentExpediteur(String idAdherentExpediteur) {
		this.idAdherentExpediteur = idAdherentExpediteur;
	}

	public String getIdAdherentDestinataire() {
		return idAdherentDestinataire;
	}

	public void setIdAdherentDestinataire(String idAdherentDestinataire) {
		this.idAdherentDestinataire = idAdherentDestinataire;
	}

	public double getTarif() {
		return tarif;
	}

	public void setTarif(double tarif) {
		this.tarif = tarif;
	}

}
